package com.lc.luzhengtang.bean;

/**
 * Created by Administrator on 2017/6/20.
 */

public class ProFitBean {

    /**
     * code : 200
     * message : 数据加载成功!
     * data : {"ordinary":{"role_id":0,"role":"普通用户","tydlren":0},"special":{"tydlren":1,"tydlmoney":0,"role_id":1,"role":"特约代理"},"district":{"tydlren":1,"tydlmoney":0,"role_id":2,"role":"区级代理"},"officials":{"tydlren":1,"tydlmoney":0,"role_id":3,"role":"官方总代"},"partner":{"tydlren":1,"tydlmoney":0,"role_id":4,"role":"合伙人"}}
     * commission : 0
     */

    private int code;
    private String message;
    private DataBean data;
    private int commission;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public int getCommission() {
        return commission;
    }

    public void setCommission(int commission) {
        this.commission = commission;
    }

    public static class DataBean {
        /**
         * ordinary : {"role_id":0,"role":"普通用户","tydlren":0}
         * special : {"tydlren":1,"tydlmoney":0,"role_id":1,"role":"特约代理"}
         * district : {"tydlren":1,"tydlmoney":0,"role_id":2,"role":"区级代理"}
         * officials : {"tydlren":1,"tydlmoney":0,"role_id":3,"role":"官方总代"}
         * partner : {"tydlren":1,"tydlmoney":0,"role_id":4,"role":"合伙人"}
         */

        private OrdinaryBean ordinary;
        private SpecialBean special;
        private DistrictBean district;
        private OfficialsBean officials;
        private PartnerBean partner;

        public OrdinaryBean getOrdinary() {
            return ordinary;
        }

        public void setOrdinary(OrdinaryBean ordinary) {
            this.ordinary = ordinary;
        }

        public SpecialBean getSpecial() {
            return special;
        }

        public void setSpecial(SpecialBean special) {
            this.special = special;
        }

        public DistrictBean getDistrict() {
            return district;
        }

        public void setDistrict(DistrictBean district) {
            this.district = district;
        }

        public OfficialsBean getOfficials() {
            return officials;
        }

        public void setOfficials(OfficialsBean officials) {
            this.officials = officials;
        }

        public PartnerBean getPartner() {
            return partner;
        }

        public void setPartner(PartnerBean partner) {
            this.partner = partner;
        }

        public static class OrdinaryBean {
            /**
             * role_id : 0
             * role : 普通用户
             * tydlren : 0
             */

            private int role_id;
            private String role;
            private int tydlren;

            public int getRole_id() {
                return role_id;
            }

            public void setRole_id(int role_id) {
                this.role_id = role_id;
            }

            public String getRole() {
                return role;
            }

            public void setRole(String role) {
                this.role = role;
            }

            public int getTydlren() {
                return tydlren;
            }

            public void setTydlren(int tydlren) {
                this.tydlren = tydlren;
            }
        }

        public static class SpecialBean {
            /**
             * tydlren : 1
             * tydlmoney : 0
             * role_id : 1
             * role : 特约代理
             */

            private int tydlren;
            private int tydlmoney;
            private int role_id;
            private String role;

            public int getTydlren() {
                return tydlren;
            }

            public void setTydlren(int tydlren) {
                this.tydlren = tydlren;
            }

            public int getTydlmoney() {
                return tydlmoney;
            }

            public void setTydlmoney(int tydlmoney) {
                this.tydlmoney = tydlmoney;
            }

            public int getRole_id() {
                return role_id;
            }

            public void setRole_id(int role_id) {
                this.role_id = role_id;
            }

            public String getRole() {
                return role;
            }

            public void setRole(String role) {
                this.role = role;
            }
        }

        public static class DistrictBean {
            /**
             * tydlren : 1
             * tydlmoney : 0
             * role_id : 2
             * role : 区级代理
             */

            private int tydlren;
            private int tydlmoney;
            private int role_id;
            private String role;

            public int getTydlren() {
                return tydlren;
            }

            public void setTydlren(int tydlren) {
                this.tydlren = tydlren;
            }

            public int getTydlmoney() {
                return tydlmoney;
            }

            public void setTydlmoney(int tydlmoney) {
                this.tydlmoney = tydlmoney;
            }

            public int getRole_id() {
                return role_id;
            }

            public void setRole_id(int role_id) {
                this.role_id = role_id;
            }

            public String getRole() {
                return role;
            }

            public void setRole(String role) {
                this.role = role;
            }
        }

        public static class OfficialsBean {
            /**
             * tydlren : 1
             * tydlmoney : 0
             * role_id : 3
             * role : 官方总代
             */

            private int tydlren;
            private int tydlmoney;
            private int role_id;
            private String role;

            public int getTydlren() {
                return tydlren;
            }

            public void setTydlren(int tydlren) {
                this.tydlren = tydlren;
            }

            public int getTydlmoney() {
                return tydlmoney;
            }

            public void setTydlmoney(int tydlmoney) {
                this.tydlmoney = tydlmoney;
            }

            public int getRole_id() {
                return role_id;
            }

            public void setRole_id(int role_id) {
                this.role_id = role_id;
            }

            public String getRole() {
                return role;
            }

            public void setRole(String role) {
                this.role = role;
            }
        }

        public static class PartnerBean {
            /**
             * tydlren : 1
             * tydlmoney : 0
             * role_id : 4
             * role : 合伙人
             */

            private int tydlren;
            private int tydlmoney;
            private int role_id;
            private String role;

            public int getTydlren() {
                return tydlren;
            }

            public void setTydlren(int tydlren) {
                this.tydlren = tydlren;
            }

            public int getTydlmoney() {
                return tydlmoney;
            }

            public void setTydlmoney(int tydlmoney) {
                this.tydlmoney = tydlmoney;
            }

            public int getRole_id() {
                return role_id;
            }

            public void setRole_id(int role_id) {
                this.role_id = role_id;
            }

            public String getRole() {
                return role;
            }

            public void setRole(String role) {
                this.role = role;
            }
        }
    }
}
